21. Lesson Conclusion
Lesson Conclusion
ND079 JPND C2 L02 A20 Lesson Conclusion V3
We've learned about so much in this lesson! You'll be well equipped to write programs that interact with file systems and handle many different kinds of input and output.
You learned:
- The differences between program memory and persistent data, and how to create persistent data by reading and writing files.
- What resource leaks are and how you can avoid them with try-finally and try-with-resources.
- You also learned the basics of serializing Java objects to different formats such as JSON, XML, and binary, and then deserializing those formats back into Java objects.